tags:
  - connection
summary: 列出数据库连接
description: 列出数据库连接
operationId: "{{ uniqueOpId() }}"
requestBody:
  content:
    application/json:
      schema:
        type: object
        properties:
          token:
            type: string
            description: 访问令牌
responses:
  "200":
    description: 成功
    content:
      application/json:
        schema:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                description: 连接ID
              name:
                type: string
                description: 连接名称
              driver:
                type: string
                description: 数据库驱动名称
              dataSource:
                type: string
                description: 数据库源
  "500":
    description: 失败
    content:
      application/json:
        schema:
          $ref: "@schemas/errInfo.yml.njk"
